package com.zhouchao.bean;

public class Student {
	private int studentId;
	private String stuNumber;
	private String userName;//username=stunumber 登录用
	private String password;
	private int dormBuildId ;
	private String dormBuildName;
	private String dormName;
	private String name;
	
	private String sex;
	private String tel;
	private String manager;
	private String date;
	
	public Student() {
	}
	
	public Student(String userName, String password) {
		this.userName = userName;
		this.password = password;
	}
	
	
	public Student( String stuNumber,  String name, 
			String password, int dormBuildId,
			String dormName,String sex, String tel,
			String manager, String date) {
		super();
	
		this.stuNumber = stuNumber;
		this.password = password;
		this.dormBuildId = dormBuildId;
		this.dormName = dormName;
		this.name = name;
		this.sex = sex;
		this.tel = tel;
		this.manager = manager;
		this.date = date;
	}

	public Student(String stuNumber, String password, int dormBuildId,
			String dormName, String name, String sex, String tel) {
		this.stuNumber = stuNumber;
		this.password = password;
		this.dormBuildId = dormBuildId;
		this.dormName = dormName;
		this.name = name;
		this.sex = sex;
		this.tel = tel;
	}

	/**
	 * @return the studentId
	 */
	public int getStudentId() {
		return studentId;
	}

	/**
	 * @param studentId the studentId to set
	 */
	public void setStudentId(int studentId) {
		this.studentId = studentId;
	}

	/**
	 * @return the stuNumber
	 */
	public String getStuNumber() {
		return stuNumber;
	}

	/**
	 * @param stuNumber the stuNumber to set
	 */
	public void setStuNumber(String stuNumber) {
		this.stuNumber = stuNumber;
		this.userName = stuNumber;
	}

	/**
	 * @return the password
	 */
	public String getPassword() {
		return password;
	}

	/**
	 * @param password the password to set
	 */
	public void setPassword(String password) {
		this.password = password;
	}

	/**
	 * @return the dormBuildId
	 */
	public int getDormBuildId() {
		return dormBuildId;
	}

	/**
	 * @param dormBuildId the dormBuildId to set
	 */
	public void setDormBuildId(int dormBuildId) {
		this.dormBuildId = dormBuildId;
	}

	/**
	 * @return the dormBuildName
	 */
	public String getDormBuildName() {
		return dormBuildName;
	}

	/**
	 * @param dormBuildName the dormBuildName to set
	 */
	public void setDormBuildName(String dormBuildName) {
		this.dormBuildName = dormBuildName;
	}

	/**
	 * @return the dormName
	 */
	public String getDormName() {
		return dormName;
	}

	/**
	 * @param dormName the dormName to set
	 */
	public void setDormName(String dormName) {
		this.dormName = dormName;
	}

	/**
	 * @return the name
	 */
	public String getName() {
		return name;
	}

	/**
	 * @param name the name to set
	 */
	public void setName(String name) {
		this.name = name;
	}

	/**
	 * @return the sex
	 */
	public String getSex() {
		return sex;
	}

	/**
	 * @param sex the sex to set
	 */
	public void setSex(String sex) {
		this.sex = sex;
	}

	/**
	 * @return the tel
	 */
	public String getTel() {
		return tel;
	}

	/**
	 * @param tel the tel to set
	 */
	public void setTel(String tel) {
		this.tel = tel;
	}

	/**
	 * @return the manager
	 */
	public String getManager() {
		return manager;
	}

	/**
	 * @param manager the manager to set
	 */
	public void setManager(String manager) {
		this.manager = manager;
	}

	/**
	 * @return the date
	 */
	public String getDate() {
		return date;
	}

	/**
	 * @param date the date to set
	 */
	public void setDate(String date) {
		this.date = date;
	}

	/**
	 * @return the userName
	 */
	public String getUserName() {
		return userName;
	}

	/**
	 * @param userName the userName to set
	 */
	public void setUserName(String userName) {
		this.userName = userName;
	}


	
}
